<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
	<table border="0" cellspacing="6">
		<tr>
			<td>名称:</td><td><input name="name" value="${account.name}"></td>
		</tr>
		<tr>
			<td>密码:</td><td><input name="password" value="${account.password}"></td>
		</tr>
		<tr>
			<td>角色:</td>
			<td>
				<c:choose>
					<c:when test="${account.role==1}">
						<select name="role">
							<option value="0">普通用户</option>
							<option selected value="1">管理员</option>
						</select>
					</c:when>
					<c:otherwise>
						<select name="role">
							<option selected value="0">普通用户</option>
							<option value="1">管理员</option>
						</select>
					</c:otherwise>
				</c:choose>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>
				<input type="button" value="保存">
				<input type="button" value="删除">
			</td>
		</tr>
	</table>
</body>
</html>